
// F. Chaxel 2010

#ifndef IMICAADVISE_H
#define IMICATADVISE_H

#define MICA_DATA_MAXSIZE 29

#pragma pack(push,1)
	struct MicaPacket
	{
		char Start7e;
		char Start0;
		char Type;
		char Group;
		char Lenght;
		char data[MICA_DATA_MAXSIZE];
		unsigned short Crc;
	};
#pragma pack (pop)


// Interface is a class with only pure virtual methods in C++

class IMicaAdvise
{
	
	public :
		virtual void MicaDataReceive(struct MicaPacket *Pkt)=0;

};

#endif
